<?include '/var/www/html/new/d/common/autoload.php';
$page_title = '' . $GLOBALS['web_title'];
include '/var/www/html/new/d/common/header.html';
include '/var/www/html/new/d/common/left.html';
$dbConf = include '/var/www/html/new/d/module/common/db.conf.php';
include '/var/www/html/new/d/module/common/Db.class.php';
$data_list = array();
$sql  = 'SELECT uplog_title,uplog_content,access_date FROM pft_update_log LIMIT 99';
\PFT\Db::Conf($dbConf['remote_1']);
$stmt = \PFT\Db::Connect()->prepare($sql);
$stmt->execute();
$data_list = $stmt->fetchAll(PDO::FETCH_ASSOC);

?>
<link rel="stylesheet" type="text/css" href="http://www.12301.cc/css/ui/version_list.css">
<div class="r_content">
    <ul id="tabHead" class="tabHead clearfix"> 
		<li class="profit active">平台更新公告</li>
	</ul>
	<div class="version_list">
        <?php if(count($data_list)):?>
        <?php foreach($data_list as $list):?>
		<span class="version_titile" >
            <a href="<?=$list['uplog_content']?>" target="_blank"><?=$list['uplog_title']?></a>
			<i class="version_con"><?=$list['access_date']?></i> 
        </span>
		<!-- <span class="version_con"></span> -->
        <?php endforeach;?>
        <?php else:?>
            暂无更新。
        <?php endif;?>
	</div>
</div>
<?include("/var/www/html/new/d/common/footer.html")?>